All Questions
Tagged with linux-kernelconfiguration
65 questions
0votes
1answer
26views
Distinguish between configs and logs/debugs/statistics within sysfs (/sys)
sysfs is a feature of the Linux kernel that allows kernel code to export information to user processes via an in-memory filesystem. The organization of the filesystem directory hierarchy is strict, ...
1vote
1answer
819views
Why are new kernel versions not appearing in Fedora 40 Grub?
I upgraded from Fedora 38 to Fedora 40 more or less smoothly. Yet, when new kernels are installed, the grub configuration is not updated. The command grep vmlinuz /boot/grub2/grub.cfg shows linux /...
0votes
2answers
3kviews
What should do to generate a minimal Linux kernel?
I am working on an embedded Linux system (5.10.24), and now I want to check what is the minimal kernel I can build, so with lots of playing of kernel configurations, now I have following kernel. # ...
0votes
1answer
118views
How should I know which kernel options to use?
When solving a problem, requires enabling kernel options e.g. with menuconfig. How do I know which to enable/disable?
0votes
2answers
2kviews
Manually merge two Linux kernel configs
I'm working on configuring a Linux kernel for my laptop (Apple M1), and I have two different configs: one is a minimal config I made myself for an arm64 vm image, and one is the default config used by ...
0votes
1answer
1kviews
Change console size
I'm trying to run linux kernel inside VMware from iso image compiled from sources. At the current moment I'm trying to start initramfs but for some reasons it crashes. My problem is I cannot know why ...
2votes
1answer
2kviews
What is the point of the kernel reserving CONFIG_X86_RESERVE_LOW memory for the BIOS?
Since at least 2.6 kernels, Kconfig offers the option CONFIG_X86_RESERVE_LOW, described as the "Amount of low memory, in kilobytes, to reserve for the BIOS". (Starting from physical address ...
4votes
4answers
8kviews
Trouble selecting "Fully Preemptible Kernel (Real-Time)" when configuring/compiling from source
I am trying to compile the 5.4 kernel with the latest stable PREEMPT_RT patch (5.4.28-rt19) but for some reason can't select the Fully Preemptible Kernel (RT) option inside make nconfig/menconfig. I'...
2votes
2answers
3kviews
How do I enable a configuration in a Kernel?
I am trying to enable KASAN in my Manjaro distribution for a project, but I have no idea how to. The documentation here (https://www.kernel.org/doc/html/v4.14/dev-tools/kasan.html) says just to ...
1vote
1answer
576views
How do I switch on CONFIG_CONTEXT_TRACKING in Linux?
I want to switch on CONFIG_CONTEXT_TRACKING, I am able to find this config with a search in menuconfig but not able to turn it on. I am also having difficulty in understanding the config options that ...
1vote
0answers
867views
What are Pageblocks and migrate types in Linux memory ? How many movable/unmovable pages are defined by default?
What are Pageblocks and migrate types in Linux memory ? How many movable/unmovable pages are defined by default? With 2GB of memory, how many movable and unmovable pages are defined ? Example - cat /...
2votes
1answer
2kviews
How to change Kernel Base address when compiling Linux?
I am working on RedPitaya FPGA board and want to use Asymmetric MultiProcessing on it. CPU0 will be running Linux and CPU1 will be running Baremetal or freeRTOS. For that I need to change the Kernel ...
6votes
2answers
5kviews
Why does “/proc/config.gz” show wrong configuration?
The file /proc/config.gz isn't updated when I rebuild kernel with changed configuration (from make menuconfig). For instance, I have rebuilt kernel with BLK_DEV_IO_TRACE which works fine but config.gz ...
2votes
1answer
9kviews
Why use tristate vs bool in the Linux kernel Kconfig?
Here is my current understanding of why one would choose to use one vs the other, can you please confirm or correct me? Run-time vs compile-time: If you don't know whether or not you want this enabled ...
1vote
0answers
339views
kernel 2.6.35.3 - how to convert .config to defconfig
If you have newer kernel (i.e. > 2.6.35.3) you can create a 'defconfig' from a '.config' by using make savedefconfig But in kernel 2.6.35.3 - does not provide you with 'savedefconfig' target. How ...